package com.example.testtty;

public class ttyjni {

	private native String test();
	private native int OpenDevice(String dev_name);
	private native int WriteDevice(String values);
	private native String ReadDevice();
	
	public String test0(){
		return test();
	}
	public int Open_dev(String dev_name){
		return OpenDevice(dev_name);
	}
	public int Write_dev(String values){
		return WriteDevice(values);
	}
	public String Read_dev(){
		return ReadDevice();
	}
	
	
}
